﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Himp.Platform.Migrations
{
    /// <inheritdoc />
    public partial class modify_table_StdWordDict_name : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "SYN",
                table: "MainStdWordDict",
                newName: "Syn");

            migrationBuilder.RenameColumn(
                name: "EXP",
                table: "MainStdWordDict",
                newName: "Exp");

            migrationBuilder.RenameColumn(
                name: "STD_WORD_NAME",
                table: "MainStdWordDict",
                newName: "StdWordName");

            migrationBuilder.RenameColumn(
                name: "EN_MN",
                table: "MainStdWordDict",
                newName: "EnMn");

            migrationBuilder.RenameColumn(
                name: "EN_ABBR",
                table: "MainStdWordDict",
                newName: "EnAbbr");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "Syn",
                table: "MainStdWordDict",
                newName: "SYN");

            migrationBuilder.RenameColumn(
                name: "Exp",
                table: "MainStdWordDict",
                newName: "EXP");

            migrationBuilder.RenameColumn(
                name: "StdWordName",
                table: "MainStdWordDict",
                newName: "STD_WORD_NAME");

            migrationBuilder.RenameColumn(
                name: "EnMn",
                table: "MainStdWordDict",
                newName: "EN_MN");

            migrationBuilder.RenameColumn(
                name: "EnAbbr",
                table: "MainStdWordDict",
                newName: "EN_ABBR");
        }
    }
}
